import React, { Component } from 'react'
import { View, Text } from 'react-native'
import commonStyle from '../../../libs/commonStyle'
export default class RTitle extends Component {
	render() {
		return (
			<View
				style={[
					commonStyle.flexRow,
					commonStyle.flexVerticalCenter,
					commonStyle.mb10,
					commonStyle.mt30,
					commonStyle.pl20,
					commonStyle.pr20
				]}
			>
				<Text
					style={[
						commonStyle.w10,
						commonStyle.h30,
						commonStyle.activeBackgroundColor
					]}
				/>
				<Text
					style={[
						commonStyle.f34,
						commonStyle.fontBold,
						commonStyle.pl10
					]}
				>
					{this.props.title}
				</Text>
			</View>
		)
	}
}
